﻿%script var globalSettings = new Object();
  -foreach(var key in IntraVision.Web.Settings.DBSettings.Keys.Where(k=>k.ToUpper().StartsWith("JS")))
    =string.Format("globalSettings['{0}']='{1}';",key,IntraVision.Web.Settings.DBSettings[key])